import request from "@/utils/request";
import downloadRequest from "@/utils/request/download"

export function getFinanceCenter(params: any) {
  return request.get({ url: "/finance/statistics", params });
}

export function postconditionStatisticsFinance(params: any) {
  return request.post({ url: "/finance/conditionStatisticsFinance", params });
}
export function getdownloadFinance(params: any) {
  return downloadRequest.post({ url: "/finance/downloadFinance", params, responseType: 'blob' });
}
